package org.zbclan.bf2.rcon.home.client.gpo;

import java.util.List;

import net.customware.gwt.presenter.client.widget.WidgetDisplay;

import org.vaadin.gwtgraphics.client.DrawingArea;

import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.HasValue;

public interface GPODisplay extends WidgetDisplay {

	void addObject(Object key, String create, String team1, String team2,
			String layer, String absolutePosition, String rotation,
			String setControlPointId, boolean isEnabled);

	HasValue<Boolean> getEnabledChangeable(Object key);

	HasClickHandlers getTemplateClickable(Object key);

	HasClickHandlers getControlPointClickable(Object key);

	public DrawingArea getMapDrawingArea();

	HasClickHandlers getSaveClickable();

	void adjustCoordinates(float scale, float xCenter, float yCenter);

	void addArea(List<String> areaPoints);

	HasClickHandlers getMapObjectClickable(Object key);

	void highlightObject(Object key);

	void highlightControlPoint(Object key);

	FlexTable getObjectFlexTable();

	void addControlPoint(Object key, String create, String absolutePosition,
			String layer, boolean enabled);
}
